package com.itheima.pojo;

import java.math.BigInteger;
import java.time.LocalDate;

public class User {
    private BigInteger userId;
    private String password;
    private String name;

    public User() {
    }

    public User(BigInteger userId, String password, String name) {
        this.userId = userId;
        this.password = password;
        this.name = name;
    }

    /**
     * 获取
     * @return userId
     */
    public BigInteger getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(BigInteger userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    public String toString() {
        return "User{userId = " + userId + ", password = " + password + ", name = " + name + "}";
    }
}
